package com.iims.flowable.flow.vo.wrapper;

import com.iims.flowable.factory.FlowResponseFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author fanpei
 * @date 2021/6/25 15:08
 */
@Component
public class WrapperFlowTaskToDoList implements IListFlowWrapper {

    @Autowired
    private FlowResponseFactory responseFactory;

    @Override
    public List execute(List list) {
        return responseFactory.flowToDoTaskDtoList(list);
    }
}
